﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucOrder.ascx.cs" Inherits="Wedding_ucControl_ucOrder" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<style type="text/css">
    #thanh
    {
        background-color: #B90505;
        border-left: 3px solid green;
        color: white;
        font-weight: bold;
        line-height: 30px;
        padding-left: 20px;
    }
</style>

<script type="text/javascript">
    $(document).ready(function() {
        $('#ctl00_ContentPlaceHolder1_ucOrder1_cbNumberPoeple_Button').click(function() {
            $('#ctl00_ContentPlaceHolder1_ucOrder1_cbNumberPoeple_OptionList').css('top', '').css('left', '');
        });
    });
</script>

<div class="container">
    <div class="sixteen columns">
        <div class="content_left">
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="980" height="350">
                <param name="movie" value="/gallery/avatar_upload/ads/972506698_bn.swf" />
                <param name="wMode" value="transparent" />
                <!--[if !IE]>-->
                <object id="fl" type="application/x-shockwave-flash" data="images/wedding.swf" width="414"
                    height="290">
                    <param name="wMode" value="transparent" />
                    <!--<![endif]-->
                    <div>
                        <h1>
                            Alternative content</h1>
                        <p>
                            <a>
                                <img alt="Get Adobe Flash player" /></a></p>
                    </div>
                    <!--[if !IE]>-->
                </object>
            </object>
            <div class="items_menu">
                <p>
                    1/239 Canley Vale Rd, Canley Heights NSW 2166, Australia.</p>
                <p>
                    Mobile Phone: 042 393 2222<br />
                    Telephone: 9728 3338<br />
                    FAX: xx xxx xxx<br />
                    E-mail: <a href="">m@mprsc.com</a>
                </p>
            </div>
        </div>
        <div class="content_right">
            <div>
                <div class="spacer" style="text-align: left">
                    <span>Ordser</span>
                </div>
            </div>
            <div id="thanh">
                Customer Information</div>
            <div>
                <table width="100%" border="0">
                    <tr>
                        <td class="align">
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="lblMessage" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Fist Name :
                        </td>
                        <td>
                            <asp:TextBox ID="txt_fistname" runat="server" Width="200px" Height="20px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Last Name :
                        </td>
                        <td>
                            <asp:TextBox ID="txt_lastname" runat="server" Width="200px" Height="20px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Address :
                        </td>
                        <td>
                            <asp:TextBox ID="txt_address" runat="server" Width="200px" Height="20px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Mobile phone :
                        </td>
                        <td>
                            <asp:TextBox ID="txtmobilephone" runat="server" Width="200px" Height="20px" ValidationGroup="save"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
                                ValidationGroup="save" ControlToValidate="txtmobilephone"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Email :
                        </td>
                        <td>
                            <asp:TextBox ID="txt_email" runat="server" Width="200px" Height="20px" ValidationGroup="save"></asp:TextBox>
                            <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="txt_email"
                                WatermarkCssClass="clsWaterMarkRequiredField" WatermarkText="email@user.com">
                            </asp:TextBoxWatermarkExtender>
                            &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txt_email"
                                runat="server" ErrorMessage="*" SetFocusOnError="True" Display="Static" ValidationGroup="save"></asp:RequiredFieldValidator>&nbsp;
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Invalid email address"
                                Display="Static" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                ControlToValidate="txt_email" SetFocusOnError="True" ValidationGroup="save"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="margin-top:10px;" id="thanh">
                Order Detail
            </div>
            <div style="margin-top:10px;">
                <table width="100%" border="0" style="margin-left:-24px;">
                    <tr>
                        <td class="align">
                            Meal :
                        </td>
                        <td>
                            <asp:DropDownList ID="drMeal" runat="server" Width="200px" Height="24px">
                                <asp:ListItem Value="0" Text="Noon"></asp:ListItem>
                                <asp:ListItem Value="1" Text="Afternoon"></asp:ListItem>
                                <asp:ListItem Value="2" Text="Evening"></asp:ListItem>
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*"
                                ValidationGroup="save" ControlToValidate="drMeal"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Number Tables :
                        </td>
                        <td>
                            <%--<asp:DropDownList ID="drNumber" runat="server">
                                <asp:ListItem Value="0" Text=" --- Select Number Tables ---"></asp:ListItem>
                                <asp:ListItem Value="1" Text="10"></asp:ListItem>
                            </asp:DropDownList>--%>
                            <asp:ComboBox ID="cbNumberPoeple" runat="server" AutoCompleteMode="Append" Width="171px"
                                Height="20px">
                                <asp:ListItem Value="0" Text=" -- Select Number --"></asp:ListItem>
                                <asp:ListItem Value="1" Text="10"></asp:ListItem>
                                <asp:ListItem Value="2" Text="15"></asp:ListItem>
                                <asp:ListItem Value="3" Text="20"></asp:ListItem>
                                <asp:ListItem Value="4" Text="25"></asp:ListItem>
                                <asp:ListItem Value="5" Text="30"></asp:ListItem>
                                <asp:ListItem Value="6" Text="35"></asp:ListItem>
                                <asp:ListItem Value="7" Text="40"></asp:ListItem>
                                <asp:ListItem Value="8" Text="45"></asp:ListItem>
                                <asp:ListItem Value="9" Text="50"></asp:ListItem>
                                <asp:ListItem Value="10" Text="55"></asp:ListItem>
                                <asp:ListItem Value="11" Text="60"></asp:ListItem>
                                <asp:ListItem Value="12" Text="65"></asp:ListItem>
                                <asp:ListItem Value="13" Text="70"></asp:ListItem>
                                <asp:ListItem Value="14" Text="75"></asp:ListItem>
                                <asp:ListItem Value="15" Text="80"></asp:ListItem>
                                <asp:ListItem Value="16" Text="85"></asp:ListItem>
                                <asp:ListItem Value="17" Text="90"></asp:ListItem>
                                <asp:ListItem Value="18" Text="95"></asp:ListItem>
                                <asp:ListItem Value="19" Text="100"></asp:ListItem>
                            </asp:ComboBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*"
                                ValidationGroup="save" ControlToValidate="cbNumberPoeple"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="margin-top: 15px">
                        <td class="align">
                            Day of the :
                        </td>
                        <td>
                            <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txt_day"
                                Format="dd/MM/yyyy">
                            </asp:CalendarExtender>
                            <asp:TextBox ID="txt_day" runat="server" Width="196px" Height="20px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="*"
                                ValidationGroup="save" ControlToValidate="txt_day"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Time :
                        </td>
                        <td>
                            <asp:DropDownList ID="drTime" runat="server" Width="204px" Height="24px">
                                <asp:ListItem Value="0" Text="9 - 9h30"></asp:ListItem>
                                <asp:ListItem Value="1" Text="10 - 11h30"></asp:ListItem>
                                <asp:ListItem Value="2" Text="13h - 13h30"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Menu :
                        </td>
                        <td>
                            <asp:UpdatePanel ID="up" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="drMenu" runat="server" Width="204px" Height="24px" AutoPostBack="true"
                                        OnSelectedIndexChanged="drMenu_SelectedIndexChanged">
                                    </asp:DropDownList>
                                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Wedding/ListMenu.aspx"  Target ="_blank">Menu Detail</asp:HyperLink>
                                </ContentTemplate>
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="drMenu" EventName="SelectedIndexChanged" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Price :
                        </td>
                        <td>
                            <asp:UpdatePanel ID="upPanel" runat="server">
                                <ContentTemplate>
                                    <asp:TextBox ID="txtPrice" runat="server" Width="200px" Height="20px" AutoPostBack="true"></asp:TextBox>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td class="align">
                            Note :
                        </td>
                        <td>
                            <%--<textarea id="txt_content" name="" rows=""></textarea>--%>
                            <asp:TextBox ID="txtNode" runat="server" TextMode="MultiLine" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="bt_set" runat="server" Text="Set Party" Style="background: #F90;
                                font-weight: bold" OnClick="bt_set_Click" ValidationGroup="save" />
                            <asp:Button ID="bt_reset" runat="server" Text="Reset" Style="background: #F90; font-weight: bold"
                                OnClick="bt_reset_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
</div>
